﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace WebService.DataContracts
{
    /// <summary>
    /// Encja uzytkownika kasyna
    /// </summary>
    [DataContract(Namespace = "http://WebService.DataContracts/2007/10", Name = "CasinoUser")]
    public partial class CasinoUser
    {
        private System.String user_passField;
        /// <summary>
        /// Hasło
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "user_pass", Order = 0)]
        public System.String user_pass
        {
            get { return this.user_passField; }
            set { this.user_passField = value; }
        }

        private System.Byte[] avatarField;
        /// <summary>
        /// Awatar
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "avatar", Order = 1)]
        public System.Byte[] avatar
        {
            get { return this.avatarField; }
            set { this.avatarField = value; }
        }
        
        private System.DateTime? birth_dateField;
        /// <summary>
        /// Data urodzenia
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "birth_date", Order = 2)]
        public System.DateTime? birth_date
        {
            get { return this.birth_dateField; }
            set { this.birth_dateField = value; }
        }
        
        private System.String countryField;
        /// <summary>
        /// Panstwo
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "country", Order = 3)]
        public System.String country
        {
            get { return this.countryField; }
            set { this.countryField = value; }
        }
        
        private System.DateTime? creation_dateField;
        /// <summary>
        /// Data utworzenia konta
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "creation_date", Order = 4)]
        public System.DateTime? creation_date
        {
            get { return this.creation_dateField; }
            set { this.creation_dateField = value; }
        }
        
        private System.String emailField;
        /// <summary>
        /// E-mail
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "email", Order = 5)]
        public System.String email
        {
            get { return this.emailField; }
            set { this.emailField = value; }
        }
        
        private System.Boolean? is_activeField;
        /// <summary>
        /// Czy konto aktywne?
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "is_active", Order = 6)]
        public System.Boolean? is_active
        {
            get { return this.is_activeField; }
            set { this.is_activeField = value; }
        }
        
        private Nullable<System.DateTime> last_logon_dateField;
        /// <summary>
        /// Data ostatniego logowania
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "last_logon_date", Order = 7)]
        public Nullable<System.DateTime> last_logon_date
        {
            get { return this.last_logon_dateField; }
            set { this.last_logon_dateField = value; }
        }
        
        private Nullable<System.DateTime> last_logout_dateField;
        /// <summary>
        /// Data ostatniego wylogowania
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "last_logout_date", Order = 8)]
        public Nullable<System.DateTime> last_logout_date
        {
            get { return this.last_logout_dateField; }
            set { this.last_logout_dateField = value; }
        }
        
        private System.DateTime? last_update_dateField;
        /// <summary>
        /// Data ostatniej modyfikacji danych
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "last_update_date", Order = 9)]
        public System.DateTime? last_update_date
        {
            get { return this.last_update_dateField; }
            set { this.last_update_dateField = value; }
        }
        
        private System.String loginField;
        /// <summary>
        /// Login
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "login", Order = 10)]
        public System.String login
        {
            get { return this.loginField; }
            set { this.loginField = value; }
        }
        
        private System.String nickField;
        /// <summary>
        /// Nick
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "nick", Order = 11)]
        public System.String nick
        {
            get { return this.nickField; }
            set { this.nickField = value; }
        }
        
        private System.Int32 user_idField;
        /// <summary>
        /// ID uzytkownika
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "user_id", Order = 12)]
        public System.Int32 user_id
        {
            get { return this.user_idField; }
            set { this.user_idField = value; }
        }
        
        private System.String user_nameField;
        /// <summary>
        /// Imie
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "user_name", Order = 13)]
        public System.String user_name
        {
            get { return this.user_nameField; }
            set { this.user_nameField = value; }
        }
        
        private System.String user_surnameField;
        /// <summary>
        /// Nazwisko
        /// </summary>
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired = false, Name = "user_surname", Order = 14)]
        public System.String user_surname
        {
            get { return this.user_surnameField; }
            set { this.user_surnameField = value; }
        }

    }
}

